package com.ruoyi.dance.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

import java.io.Serializable;

/**
 * 新闻资讯视图对象 dance_information
 *
 * @author hly
 * @date 2024-01-21
 */
@Data
@ExcelIgnoreUnannotated
public class DanceInformationVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long infoId;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "dance_information_type")
    private String type;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 简介
     */
    @ExcelProperty(value = "简介")
    private String intro;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 封面
     */
    @ExcelProperty(value = "封面")
    private String image;

    /**
     * 关键字
     */
    @ExcelProperty(value = "关键字")
    private String keywords;

    /**
     * 浏览量
     */
    @ExcelProperty(value = "浏览量")
    private Long pageView;

    /**
     * 发布状态0草稿/1发布/2隐藏
     */
    @ExcelProperty(value = "发布状态0草稿/1发布/2隐藏", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "dance_information_status")
    private String status;

    /**
     * 封面链接
     */
    private String imageUrl;
}
